﻿using System;
using System.Xml.Serialization;

namespace ICalendar.CalendarProperties
{
    /// <summary>
    /// This property specifies the date and time that the calendar information was created by the calendar user agent in the calendar store. Note: This is analogous to the creation date and time for a file in the file system.
    /// </summary>
    /// <value>The date and time is a UTC value.</value>
    [Serializable]
    [XmlRoot("created")]
    public class Created : UTCDateTimeBase
    {

        public Created()
        {
        }

        public Created(DateTime value)
            : base(value)
        {
        }

        public static implicit operator Created(DateTime value)
        {
            return new Created(value);
        }
    }
}
